//
//  Intersection.m
//  Portable Traffic Signal Assistor
//
//  Created by Ding on 9/1/12.
//  Copyright (c) 2012 TTU. All rights reserved.
//

#import "Intersection.h"

@implementation Intersection
@synthesize intersectionID=_intersectionID;
@synthesize intersectionName=_intersectionName;
@synthesize intersectionCoordinate=_intersectionCoordinate;
@synthesize parentAgencyID=_parentAgencyID;
@synthesize parentSubSystemID=_parentSubSystemID;
//@synthesize outLinkList=_outLinkList;
//@synthesize inLinkList=_inLinkList;

- (void) dealloc
{
    [_intersectionID release];
    [_intersectionName release];
    [_parentAgencyID release];
    [_parentSubSystemID release];
//    [_outLinkList release];
//    [_inLinkList release];
    [super dealloc];
}

- (id) initWithParents:(NSString *)agencyID subSystemID:(NSString *) subSystemID
{
    self=[super init];
    if (self) {
        self.parentSubSystemID=subSystemID;
        self.parentAgencyID=agencyID;
    }
    return self;
}

@end
